#ifndef model3D_h
#define model3D_h

#include "Object3D.h"
#include "DataCore.h"

class Model3D : public Object3D
{

public:
	//attribution of model
	int numvertices;
	Position* vertices;
	Texcoord* texcoord;		
	int textureID;
	
	Model3D();

	virtual ~Model3D();	
	
	//move functions
	void MoveLeft();

	void MoveRight();

	void MoveUp();

	void MoveDown();
	
	//draw model
	void Render();

	//This is abstract function.
	virtual void RandomMove() = 0;

	//calculator collision
	virtual void Collision() = 0;

	//dead state of object
	virtual void Dead() = 0;
};


#endif